package com.xiaoran.springcloud.service.Impl;

import com.xiaoran.springcloud.entitis.CommonResult;
import com.xiaoran.springcloud.entitis.Payment;
import com.xiaoran.springcloud.service.PaymentService;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService {

    public CommonResult<Payment> paymentSQL(int id) {
        return new CommonResult<Payment>(4444,"服务降级返回-----PaymentFallbackService",new Payment(id,"error lllll"));
    }
}
